package com.ruoyi.decision.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 优化策略对象 s_plm_rts_strategy
 * 
 * @author zbw
 * @date 2022-07-20
 */
public class Strategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 策略ID */
    private String strategyId;

    /** 策略名称 */
    @Excel(name = "策略名称")
    private String strategyName;

    /** 所属策略分类ID */
    @Excel(name = "所属策略分类ID")
    private String strategyTypeId;

    /** 策略描述 */
    @Excel(name = "策略描述")
    private String description;

    /** 排序 */
    @Excel(name = "排序")
    private Integer rank;

    public void setStrategyId(String strategyId) 
    {
        this.strategyId = strategyId;
    }

    public String getStrategyId() 
    {
        return strategyId;
    }
    public void setStrategyName(String strategyName) 
    {
        this.strategyName = strategyName;
    }

    public String getStrategyName() 
    {
        return strategyName;
    }
    public void setStrategyTypeId(String strategyTypeId) 
    {
        this.strategyTypeId = strategyTypeId;
    }

    public String getStrategyTypeId() 
    {
        return strategyTypeId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setRank(Integer rank) 
    {
        this.rank = rank;
    }

    public Integer getRank() 
    {
        return rank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyId", getStrategyId())
            .append("strategyName", getStrategyName())
            .append("strategyTypeId", getStrategyTypeId())
            .append("description", getDescription())
            .append("rank", getRank())
            .toString();
    }
}
